home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1996 Fall / BMUG Fall'96 PD-ROM.iso / Education / Math / MathPad 2.4 / intro help / intro help.rsrc / TEXT_133_Formulas.txt < prev    next >
Text File  |  1996-03-26  |  381b  |  15 lines

  1. -- Type in formulas, plug in numbers and hit enter to see the result
  2.  
  3. time = distance/speed
  4. speed = 50     -- mph
  5. distance = 187 -- miles
  6. time:3.740;    -- hours
  7.  
  8. -- Functions are similar but use parameters
  9. tim(dist,spd) = dist/spd
  10. tim(187,50):3.740
  11.  
  12. -- One reason to use functions is to allow using the same formula more than once in an expression
  13.  
  14. tim(187,50) + tim(70,30):6.073
  15.